package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ocom.common.entity.payconfig.EntityFoodstuffPurchase;
import com.ocom.common.request.payconfig.food.GetFoodPurchaseListRequest;
import com.ocom.common.request.payconfig.food.RemoveFoodPurchaseRequest;

public interface FoodstuffPurchaseService extends IService<EntityFoodstuffPurchase> {
    PageInfo<EntityFoodstuffPurchase> getList(Long companyId, GetFoodPurchaseListRequest request);

    Boolean removeFoodPurchase(Long companyId, RemoveFoodPurchaseRequest request);

    Boolean newFoodPurchase(Long companyId, EntityFoodstuffPurchase entityRestStaff);

    Boolean updateFoodPurchase(Long companyId, EntityFoodstuffPurchase entityRestStaff);
}
